package com.example.liyuehui.pluginlib;

import org.gradle.api.tasks.Input;

/**
 * Created by LiYueHui on 2017/11/19.
 */

public class FooData {

    private String name;
    private int age;

    public FooData(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Input
    public String getName() {
        return name;
    }


    @Input
    public int getAge() {
        return age;
    }


    @Override
    public String toString() {
        return "FooData{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
